package com.example.demo.service;

import com.example.demo.entity.CodeHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.RulesInfo;

import java.util.List;

/**
* @author 18364
* @description 针对表【code_history】的数据库操作Service
* @createDate 2024-10-15 13:16:52
*/
public interface CodeHistoryService extends IService<CodeHistory> {
    List<CodeHistory> select(String userId,String appId, String trainingId);
    CodeHistory selectByCodeInfo(String codeInfo);
    Integer delete(String appId,String trainingId ,String userId);
    String makeCode(Integer codeId);
    Integer deleteByInfo(String appId,String trainingId ,String userId,Integer type);
    List<CodeHistory> selectByProId(Integer proId);
    String make ( String userId, String appId, String trainingId,Integer ruleId,Integer productInfoId,String Code);
}
